﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using Microsoft.Practices.Prism.ViewModel;

namespace ChrizNet.Module.Supplier
{
    /// <summary>
    /// Data class for supplier
    /// </summary>
    public class SupplierData : NotificationObject
    {
        #region private field
        String m_supplierName, m_contactPerson, m_address, m_phone, m_fax, m_email, m_website;
        #endregion 

        #region public field
        /// <summary>
        /// Gets/Sets Name
        /// </summary>
        public String SupplierName
        {
            get { return m_supplierName; }
            set
            {
                if (m_supplierName == value)
                    return;

                m_supplierName = value;
                RaisePropertyChanged(() => this.SupplierName);
            }
        }

        #endregion
    }
}
